package com.qianmi.cloud.app;

import com.qianmi.cloud.request.GoodsQueryRequest;
import com.qianmi.cloud.response.GoodsQueryResponse;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description
 * @Author caichao【OF3379】
 * @Date 7:51 PM 1/13/22
 */
@RestController
public class GoodsQueryProviderImpl implements GoodsQueryProvider {

    @Override
    public GoodsQueryResponse queryGoods(GoodsQueryRequest goodsQueryRequest) {
        GoodsQueryResponse goodsQueryResponse = new GoodsQueryResponse();
        goodsQueryResponse.setGoodsId("1234567");
        goodsQueryResponse.setGoodsName("iphone13 pro max");
        return goodsQueryResponse;
    }
}
